<!DOCTYPE html>
<html>
<head>
	<title>API Page</title>
	<meta charset="UTF-8">
	<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>

<script>
	// 发送GET请求，获取GitHub用户信息
	$.ajax({
    url: "https://api.github.com/users/binjie09",
    headers: {
        "Authorization": "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"
    },
    crossDomain: true,
    xhrFields: {
        withCredentials: true
    },
    success: function(data) {
        var json = JSON.stringify(data);
        document.write(json);
    }
});
</script>

</body>
</html>